home *** CD-ROM | disk | FTP | other *** search
- package asp.nfx.MSDBNav;
-
- import asp.util.EResourceUtil;
- import asp.util.ResourceUtil;
- import com.netobjects.nfc.api.CStringArray;
- import com.netobjects.nfc.api.ComponentApp;
- import com.netobjects.nfc.api.DAssetManager;
- import com.netobjects.nfc.api.DDrawPicture;
- import com.netobjects.nfc.api.DImage;
- import com.netobjects.nfc.api.DLayout;
- import com.netobjects.nfc.api.DMessageBox;
- import com.netobjects.nfc.api.DRect;
- import com.netobjects.nfc.api.DSize;
- import com.netobjects.nfc.api.IDInspector;
-
- public class MSDBNav extends ComponentApp {
- String name;
- String queryComponent;
- int navigationType;
- int numRecords;
- int previousImage;
- int nextImage;
- int upImage;
- int thisPage;
- int upPage;
- int keyFieldCount;
- String[] keyFieldNames;
- int[] keyFieldDataTypes;
- private String INCLUDEFILE_SUBDIR = "asp";
- String codebase;
- DAssetManager assMan;
- DDrawPicture cdp;
- int defaultWidth;
- int defaultHeight;
- protected static transient ResourceUtil resUtil = null;
- static final int MAXASSET = 50;
- int[] assetControl;
- int assetCount;
- boolean published = false;
- static final int MAXKEYFIELDCOUNT = 10;
- static final int MAXFILTERFIELDCOUNT = 10;
- static final int WIDTH_PAD = 20;
- static final int HEIGHT_PAD = 4;
- static final String SCRIPTDELIMOPEN = "<SCRIPT RUNAT=SERVER LANGUAGE=JSCRIPT>\n";
- static final String SCRIPTDELIMCLOSE = "</SCRIPT>\n";
- // $FF: synthetic field
- static Class class$asp$nfx$MSDBNav$MSDBNav;
-
- public String onInstall(DAssetManager cam, String codebase) {
- this.assMan = cam;
- return "MSDBNav";
- }
-
- public void onDrop(DLayout layout, DRect r, int fDrop) {
- if (fDrop == 1) {
- this.allocateFieldsArray();
- this.name = resUtil.getString("value.name");
- this.queryComponent = resUtil.getString("value.query");
- this.navigationType = 0;
- this.numRecords = 1;
- this.thisPage = 0;
- this.upPage = 0;
- this.keyFieldCount = 0;
- this.assetControl = new int[50];
- this.cdp = new DDrawPicture();
- this.codebase = this.cdp.getCodeBase();
- int prevImageAsset = this.assMan.AddAsset(this.codebase + "PreviousButton.gif", "Image", "");
- this.assetControl[this.assetCount] = prevImageAsset;
- this.assMan.SetPublishAssetMode(this.assetControl[this.assetCount++], 453);
- this.previousImage = prevImageAsset;
- int nextImageAsset = this.assMan.AddAsset(this.codebase + "NextButton.gif", "Image", "");
- this.assetControl[this.assetCount] = nextImageAsset;
- this.assMan.SetPublishAssetMode(this.assetControl[this.assetCount++], 453);
- this.nextImage = nextImageAsset;
- int upImageAsset = this.assMan.AddAsset(this.codebase + "UpButton.gif", "Image", "");
- this.assetControl[this.assetCount] = upImageAsset;
- this.assMan.SetPublishAssetMode(this.assetControl[this.assetCount++], 453);
- this.upImage = upImageAsset;
- this.cdp.SetPositionRect(r.getLeft(), r.getTop(), r.getRight(), r.getBottom());
- this.cdp.SetStyle(1, 1);
- this.cdp.setStretch(2);
- this.cdp.setImageFile(this.codebase + resUtil.getString("image.filename"));
- this.resizeComponentDefault(this.cdp);
- this.cdp.setPictureText("DBNavigator");
- this.cdp.setUsePictureText(true);
- layout.AddObject(this.cdp);
- }
- }
-
- public void onInspect(CStringArray Names, CStringArray Types) {
- Names.Set(resUtil.getString("property.name"));
- Types.Set("String");
- Names.Set(resUtil.getString("property.query"));
- Types.Set("String");
- Names.Set(resUtil.getString("property.navtype"));
- Types.Set("Set(" + resUtil.getString("option.navtype") + ")");
- Names.Set(resUtil.getString("property.reccount"));
- Types.Set("Collection");
- Names.Set(resUtil.getString("property.previmage"));
- Types.Set("Image");
- Names.Set(resUtil.getString("property.nextimage"));
- Types.Set("Image");
- Names.Set(resUtil.getString("property.upimage"));
- Types.Set("Image");
- Names.Set(resUtil.getString("property.thispage"));
- Types.Set("Link");
- Names.Set(resUtil.getString("property.uppage"));
- Types.Set("Link");
- Names.Set(resUtil.getString("property.kfldcount"));
- Types.Set("Collection");
-
- for(int cnt = 0; cnt < this.keyFieldCount; ++cnt) {
- Names.Set(resUtil.getString("property.kfldname") + " " + Integer.toString(cnt + 1));
- Types.Set("String");
- Names.Set(resUtil.getString("property.kfldtype") + " " + Integer.toString(cnt + 1));
- Types.Set("Set(" + resUtil.getString("option.kfldtype") + ")");
- }
-
- }
-
- public String PropertyListener(String Event, String Value, int Get, int propIndex, IDInspector insp) {
- if (Get == 1) {
- if (Event.compareTo(resUtil.getString("property.name")) == 0) {
- return this.name;
- }
-
- if (Event.compareTo(resUtil.getString("property.query")) == 0) {
- return this.queryComponent;
- }
-
- if (Event.compareTo(resUtil.getString("property.navtype")) == 0) {
- return Integer.toString(this.navigationType);
- }
-
- if (Event.compareTo(resUtil.getString("property.reccount")) == 0) {
- return Integer.toString(this.numRecords);
- }
-
- if (Event.compareTo(resUtil.getString("property.previmage")) == 0) {
- return Integer.toString(this.previousImage);
- }
-
- if (Event.compareTo(resUtil.getString("property.nextimage")) == 0) {
- return Integer.toString(this.nextImage);
- }
-
- if (Event.compareTo(resUtil.getString("property.upimage")) == 0) {
- return Integer.toString(this.upImage);
- }
-
- if (Event.compareTo(resUtil.getString("property.thispage")) == 0) {
- return Integer.toString(this.thisPage);
- }
-
- if (Event.compareTo(resUtil.getString("property.uppage")) == 0) {
- return Integer.toString(this.upPage);
- }
-
- if (Event.compareTo(resUtil.getString("property.kfldcount")) == 0) {
- return Integer.toString(this.keyFieldCount);
- }
-
- for(int cnt = 0; cnt < this.keyFieldCount; ++cnt) {
- if (Event.compareTo(resUtil.getString("property.kfldname") + " " + Integer.toString(cnt + 1)) == 0) {
- return new String(this.keyFieldNames[cnt]);
- }
-
- if (Event.compareTo(resUtil.getString("property.kfldtype") + " " + Integer.toString(cnt + 1)) == 0) {
- return Integer.toString(this.keyFieldDataTypes[cnt]);
- }
- }
- } else {
- if (Event.compareTo(resUtil.getString("property.name")) == 0 && this.isValidName(Value)) {
- this.name = Value;
- }
-
- if (Event.compareTo(resUtil.getString("property.query")) == 0) {
- if (this.isValidName(Value)) {
- this.queryComponent = Value;
- }
- } else if (Event.compareTo(resUtil.getString("property.navtype")) == 0) {
- this.navigationType = Integer.parseInt(Value, 10);
- } else if (Event.compareTo(resUtil.getString("property.reccount")) == 0) {
- if (this.isValidNumRecords(Integer.parseInt(Value, 10))) {
- this.numRecords = Integer.parseInt(Value, 10);
- }
- } else if (Event.compareTo(resUtil.getString("property.previmage")) == 0) {
- this.previousImage = Integer.parseInt(Value, 10);
- this.resizeComponent();
- } else if (Event.compareTo(resUtil.getString("property.nextimage")) == 0) {
- this.nextImage = Integer.parseInt(Value, 10);
- this.resizeComponent();
- } else if (Event.compareTo(resUtil.getString("property.upimage")) == 0) {
- this.upImage = Integer.parseInt(Value, 10);
- this.resizeComponent();
- } else if (Event.compareTo(resUtil.getString("property.thispage")) == 0) {
- this.thisPage = Integer.parseInt(Value, 10);
- } else if (Event.compareTo(resUtil.getString("property.uppage")) == 0) {
- this.upPage = Integer.parseInt(Value, 10);
- } else if (Event.compareTo(resUtil.getString("property.kfldcount")) == 0) {
- int myCnt = Integer.parseInt(Value, 10);
- if (this.isValidCollection(myCnt)) {
- if (myCnt > 10) {
- myCnt = 10;
- }
-
- this.keyFieldCount = myCnt;
-
- for(int cnt = this.keyFieldCount; cnt < 9; ++cnt) {
- this.keyFieldNames[cnt] = "";
- this.keyFieldDataTypes[cnt] = -1;
- }
- }
- } else {
- for(int cnt = 0; cnt < this.keyFieldCount; ++cnt) {
- if (Event.compareTo(resUtil.getString("property.kfldname") + " " + Integer.toString(cnt + 1)) == 0) {
- this.keyFieldNames[cnt] = Value;
- insp.OnPropertyChanged(-1);
- }
-
- if (Event.compareTo(resUtil.getString("property.kfldtype") + " " + Integer.toString(cnt + 1)) == 0) {
- this.keyFieldDataTypes[cnt] = Integer.parseInt(Value, 10);
- }
- }
- }
- }
-
- return "";
- }
-
- public void onCopy() {
- this.codebase = new String(this.codebase);
- this.assMan.CopyAsset(this.thisPage);
- this.assMan.CopyAsset(this.upPage);
- int[] assetControlOld = this.assetControl;
-
- for(int i = 0; i < this.assetCount; ++i) {
- this.assetControl[i] = assetControlOld[i];
- if (this.assetControl[i] != 0) {
- this.assMan.CopyAsset(this.assetControl[i]);
- }
- }
-
- String[] keyFieldNamesOld = this.keyFieldNames;
- int[] keyFieldDataTypesOld = this.keyFieldDataTypes;
- this.keyFieldNames = new String[10];
- this.keyFieldDataTypes = new int[10];
-
- for(int cnt = 0; cnt < 10; ++cnt) {
- this.keyFieldNames[cnt] = new String(keyFieldNamesOld[cnt]);
- this.keyFieldDataTypes[cnt] = keyFieldDataTypesOld[cnt];
- }
-
- }
-
- public void onPublish(DAssetManager asm, int context) {
- this.removeAssets();
- this.published = true;
- int javaScriptAsset = this.assMan.AddAsset(this.codebase + "MSDBNav.inc", "JavaScript", "assets\\lib");
- this.assetControl[this.assetCount] = javaScriptAsset;
- this.assMan.SetPublishAssetMode(this.assetControl[this.assetCount++], 453);
- DLayout cidLayout = this.cdp.getLayout();
- int prevImageAsset = this.previousImage;
- if (prevImageAsset == 0) {
- prevImageAsset = this.assMan.AddAsset(this.codebase + "PreviousButton.gif", "Image", "");
- this.assetControl[this.assetCount] = prevImageAsset;
- this.assMan.SetPublishAssetMode(this.assetControl[this.assetCount++], 453);
- this.previousImage = prevImageAsset;
- }
-
- int nextImageAsset = this.nextImage;
- if (nextImageAsset == 0) {
- nextImageAsset = this.assMan.AddAsset(this.codebase + "NextButton.gif", "Image", "");
- this.assetControl[this.assetCount] = nextImageAsset;
- this.assMan.SetPublishAssetMode(this.assetControl[this.assetCount++], 453);
- this.nextImage = nextImageAsset;
- }
-
- int upImageAsset = this.upImage;
- if (upImageAsset == 0) {
- upImageAsset = this.assMan.AddAsset(this.codebase + "UpButton.gif", "Image", "");
- this.assetControl[this.assetCount] = upImageAsset;
- this.assMan.SetPublishAssetMode(this.assetControl[this.assetCount++], 453);
- this.upImage = upImageAsset;
- }
-
- String NestedDir = "";
- String homePath = cidLayout.GetHomePath();
- if (homePath.compareTo("..\\") == 0) {
- NestedDir = ".";
- }
-
- String IncludeFile = "<!--#INCLUDE FILE=\"" + NestedDir + "./assets/lib/MSDBNav.inc\"-->\n";
- String prevImgPath = this.assMan.GetAssetRelativeLocation(prevImageAsset, context, 0);
- String nextImgPath = this.assMan.GetAssetRelativeLocation(nextImageAsset, context, 0);
- String upImgPath = this.assMan.GetAssetRelativeLocation(upImageAsset, context, 0);
- String pagePath = this.assMan.GetAssetRelativeLocation(this.thisPage, context, 0);
- String upPath = this.assMan.GetAssetRelativeLocation(this.upPage, context, 0);
- String HTMLHead = "\r\n";
- HTMLHead = HTMLHead + "<SCRIPT RUNAT=SERVER LANGUAGE=JSCRIPT>\n\r\n";
- HTMLHead = HTMLHead + "//" + resUtil.getString("text.comment") + "\r\n";
- HTMLHead = HTMLHead + "//" + resUtil.getString("text.commentfieldarray") + "\r\n";
- HTMLHead = HTMLHead + this.name + "keyFieldNames = new Array(" + this.keyFieldCount + ");\r\n";
- HTMLHead = HTMLHead + this.name + "keyFieldDataTypes = new Array(" + this.keyFieldCount + ");\r\n";
- String isDetail = "true";
- if (this.getNavigationType(this.navigationType).compareTo("list") == 0) {
- isDetail = "false";
- }
-
- for(int i = 0; i < this.keyFieldCount; ++i) {
- HTMLHead = HTMLHead + this.name + "keyFieldNames[" + Integer.toString(i) + "] = \"" + this.keyFieldNames[i] + "\";\r\n";
- }
-
- for(int var43 = 0; var43 < this.keyFieldCount; ++var43) {
- HTMLHead = HTMLHead + this.name + "keyFieldDataTypes[" + Integer.toString(var43) + "] = \"" + this.getDataType(this.keyFieldDataTypes[var43]) + "\";\r\n";
- }
-
- HTMLHead = HTMLHead + "\r\n";
- HTMLHead = HTMLHead + "//Construct MSDBNav component\r\n";
- HTMLHead = HTMLHead + this.name + " = new MSDBNav(\r\n";
- HTMLHead = HTMLHead + " \"" + this.name + "\",\n";
- HTMLHead = HTMLHead + " \"" + this.queryComponent + "\",\n";
- HTMLHead = HTMLHead + " \"" + prevImgPath + "\",\n";
- HTMLHead = HTMLHead + " \"" + nextImgPath + "\",\n";
- HTMLHead = HTMLHead + " \"" + upImgPath + "\",\n";
- HTMLHead = HTMLHead + " " + this.keyFieldCount + ",\n";
- HTMLHead = HTMLHead + " " + this.name + "keyFieldNames,\n";
- HTMLHead = HTMLHead + " " + this.name + "keyFieldDataTypes,\n";
- HTMLHead = HTMLHead + " \"" + pagePath + "\",\n";
- HTMLHead = HTMLHead + " \"" + upPath + "\",\n";
- HTMLHead = HTMLHead + " " + this.numRecords + ",\n";
- HTMLHead = HTMLHead + " " + isDetail + "\n";
- HTMLHead = HTMLHead + ");\r\n";
- HTMLHead = HTMLHead + "\r\n";
- HTMLHead = HTMLHead + "</SCRIPT>\n\r\n";
- cidLayout.setHTMLBefore(IncludeFile + HTMLHead);
- String theHTML = "\r\n <% ";
- theHTML = theHTML + " " + this.name + ".render()\n";
- theHTML = theHTML + " %>\n";
- theHTML = theHTML + " <!--\n ";
- this.cdp.setHTMLBefore(theHTML);
- this.cdp.setHTMLAfter("\n -->\n ");
- }
-
- protected void finalize() {
- this.removeAssets();
- }
-
- public void onUnInstall(DAssetManager cam) {
- }
-
- private void removeAssets() {
- if (this.published) {
- for(int i = 0; i < this.assetCount; ++i) {
- this.assMan.RemoveAsset(this.assetControl[i]);
- }
- }
-
- this.assetCount = 0;
- }
-
- void allocateFieldsArray() {
- this.keyFieldNames = new String[10];
- this.keyFieldDataTypes = new int[10];
-
- for(int cnt = 0; cnt < 9; ++cnt) {
- this.keyFieldNames[cnt] = "";
- this.keyFieldDataTypes[cnt] = -1;
- }
-
- }
-
- public boolean isValidName(String testString) {
- boolean result = true;
- if (testString.compareTo("") == 0) {
- DMessageBox msg = new DMessageBox();
- msg.Warning(resUtil.getString("error.validname"));
- result = false;
- }
-
- return result;
- }
-
- public boolean isValidCollection(int testNo) {
- boolean result = true;
- if (testNo < 0) {
- DMessageBox msg = new DMessageBox();
- msg.Warning(resUtil.getString("error.validnumber"));
- result = false;
- }
-
- return result;
- }
-
- public boolean isValidNumRecords(int testNo) {
- boolean result = true;
- if (testNo < 1) {
- DMessageBox msg = new DMessageBox();
- msg.Warning(resUtil.getString("error.validnon0number"));
- result = false;
- }
-
- return result;
- }
-
- public String getBoolean(int myValue) {
- return myValue == 0 ? "false" : "true";
- }
-
- public String getNavigationType(int myValue) {
- int maxCount = 2;
- String result = "";
- String[] myArray = new String[maxCount];
- if (myValue >= 0 & myValue < maxCount) {
- myArray[0] = "detail";
- myArray[1] = "list";
- result = myArray[myValue];
- }
-
- return result;
- }
-
- public String getDataType(int myValue) {
- int maxCount = 4;
- String result = "";
- String[] myArray = new String[maxCount];
- if (myValue >= 0 & myValue < maxCount) {
- myArray[0] = "string";
- myArray[1] = "number";
- myArray[2] = "boolean";
- myArray[3] = "date";
- result = myArray[myValue];
- }
-
- return result;
- }
-
- private void resizeComponentDefault(DDrawPicture aPict) {
- DImage imageSizer = new DImage();
- imageSizer.setImageFile(aPict.getImageFile());
- DSize imageSize = imageSizer.getSize();
- aPict.SetSize(imageSize.getWidth(), imageSize.getHeight());
- this.defaultWidth = imageSize.getWidth();
- this.defaultHeight = imageSize.getHeight();
- }
-
- private void resizeComponent() {
- DImage imageSizer = new DImage();
- int newWidth = 0;
- int newHeight = 0;
- if (this.previousImage > 0) {
- String prevImgPath = this.assMan.GetAssetRelativeLocation(this.previousImage, 0, 1);
- imageSizer.setImageFile(prevImgPath);
- DSize imageSize = imageSizer.getSize();
- newWidth += imageSize.getWidth();
- if (newHeight < imageSize.getHeight()) {
- newHeight = imageSize.getHeight();
- }
- }
-
- if (this.nextImage > 0) {
- String nextImgPath = this.assMan.GetAssetRelativeLocation(this.nextImage, 0, 1);
- imageSizer.setImageFile(nextImgPath);
- DSize imageSize = imageSizer.getSize();
- newWidth += imageSize.getWidth();
- if (newHeight < imageSize.getHeight()) {
- newHeight = imageSize.getHeight();
- }
- }
-
- if (this.upImage > 0) {
- String upImgPath = this.assMan.GetAssetRelativeLocation(this.upImage, 0, 1);
- imageSizer.setImageFile(upImgPath);
- DSize imageSize = imageSizer.getSize();
- newWidth += imageSize.getWidth();
- if (newHeight < imageSize.getHeight()) {
- newHeight = imageSize.getHeight();
- }
- }
-
- if (newWidth == 0) {
- newWidth = this.defaultWidth;
- }
-
- if (newHeight == 0) {
- newHeight = this.defaultHeight;
- }
-
- this.cdp.SetSize(newWidth + 20, newHeight + 20);
- }
-
- public static ResourceUtil initResourceUtil(Class compClass) {
- ResourceUtil _ru = null;
-
- try {
- _ru = new ResourceUtil("asp.nfx.res", compClass);
- } catch (EResourceUtil e) {
- System.err.println(((Throwable)e).getMessage());
- }
-
- return _ru;
- }
-
- public String propertyManager(String Event, String Value, int Get) {
- if (Get == 1) {
- if (Event.compareTo(resUtil.getString("property.name")) == 0) {
- return this.name;
- }
-
- if (Event.compareTo(resUtil.getString("property.query")) == 0) {
- return this.queryComponent;
- }
-
- if (Event.compareTo(resUtil.getString("property.navtype")) == 0) {
- return Integer.toString(this.navigationType);
- }
-
- if (Event.compareTo(resUtil.getString("property.reccount")) == 0) {
- return Integer.toString(this.numRecords);
- }
-
- if (Event.compareTo(resUtil.getString("property.previmage")) == 0) {
- return Integer.toString(this.previousImage);
- }
-
- if (Event.compareTo(resUtil.getString("property.nextimage")) == 0) {
- return Integer.toString(this.nextImage);
- }
-
- if (Event.compareTo(resUtil.getString("property.upimage")) == 0) {
- return Integer.toString(this.upImage);
- }
-
- if (Event.compareTo(resUtil.getString("property.thispage")) == 0) {
- return Integer.toString(this.thisPage);
- }
-
- if (Event.compareTo(resUtil.getString("property.uppage")) == 0) {
- return Integer.toString(this.upPage);
- }
-
- if (Event.compareTo(resUtil.getString("property.kfldcount")) == 0) {
- return Integer.toString(this.keyFieldCount);
- }
-
- for(int cnt = 0; cnt < this.keyFieldCount; ++cnt) {
- if (Event.compareTo(resUtil.getString("property.kfldname") + " " + Integer.toString(cnt + 1)) == 0) {
- return new String(this.keyFieldNames[cnt]);
- }
-
- if (Event.compareTo(resUtil.getString("property.kfldtype") + " " + Integer.toString(cnt + 1)) == 0) {
- return Integer.toString(this.keyFieldDataTypes[cnt]);
- }
- }
- } else {
- if (Event.compareTo(resUtil.getString("property.name")) == 0 && this.isValidName(Value)) {
- this.name = Value;
- }
-
- if (Event.compareTo(resUtil.getString("property.query")) == 0) {
- if (this.isValidName(Value)) {
- this.queryComponent = Value;
- }
- } else if (Event.compareTo(resUtil.getString("property.navtype")) == 0) {
- this.navigationType = Integer.parseInt(Value, 10);
- } else if (Event.compareTo(resUtil.getString("property.reccount")) == 0) {
- if (this.isValidNumRecords(Integer.parseInt(Value, 10))) {
- this.numRecords = Integer.parseInt(Value, 10);
- }
- } else if (Event.compareTo(resUtil.getString("property.previmage")) == 0) {
- this.previousImage = Integer.parseInt(Value, 10);
- this.resizeComponent();
- } else if (Event.compareTo(resUtil.getString("property.nextimage")) == 0) {
- this.nextImage = Integer.parseInt(Value, 10);
- this.resizeComponent();
- } else if (Event.compareTo(resUtil.getString("property.upimage")) == 0) {
- this.upImage = Integer.parseInt(Value, 10);
- this.resizeComponent();
- } else if (Event.compareTo(resUtil.getString("property.thispage")) == 0) {
- this.thisPage = Integer.parseInt(Value, 10);
- } else if (Event.compareTo(resUtil.getString("property.uppage")) == 0) {
- this.upPage = Integer.parseInt(Value, 10);
- } else if (Event.compareTo(resUtil.getString("property.kfldcount")) == 0) {
- int myCnt = Integer.parseInt(Value, 10);
- if (this.isValidCollection(myCnt)) {
- if (myCnt > 10) {
- myCnt = 10;
- }
-
- this.keyFieldCount = myCnt;
-
- for(int cnt = this.keyFieldCount; cnt < 9; ++cnt) {
- this.keyFieldNames[cnt] = "";
- this.keyFieldDataTypes[cnt] = -1;
- }
- }
- } else {
- for(int cnt = 0; cnt < this.keyFieldCount; ++cnt) {
- if (Event.compareTo(resUtil.getString("property.kfldname") + " " + Integer.toString(cnt + 1)) == 0) {
- this.keyFieldNames[cnt] = Value;
- }
-
- if (Event.compareTo(resUtil.getString("property.kfldtype") + " " + Integer.toString(cnt + 1)) == 0) {
- this.keyFieldDataTypes[cnt] = Integer.parseInt(Value, 10);
- }
- }
- }
- }
-
- return "";
- }
-
- // $FF: synthetic method
- static Class class$(String class$) {
- try {
- return Class.forName(class$);
- } catch (ClassNotFoundException forName) {
- throw new NoClassDefFoundError(((Throwable)forName).getMessage());
- }
- }
-
- static {
- resUtil = initResourceUtil(class$asp$nfx$MSDBNav$MSDBNav != null ? class$asp$nfx$MSDBNav$MSDBNav : (class$asp$nfx$MSDBNav$MSDBNav = class$("asp.nfx.MSDBNav.MSDBNav")));
- }
- }
-